.class public Lcom/facebook/orca/activity/OrcaFragmentActivity;
.super Lcom/facebook/orca/roboguice/RoboFragmentActivity;
.source "OrcaFragmentActivity.java"

# interfaces
.implements Lcom/facebook/orca/activity/OrcaActivityish;


# instance fields
.field private a:Lcom/facebook/orca/activity/AuthenticatedActivityHelper;
    .annotation runtime Lcom/google/inject/Inject;
    .end annotation
.end field

.field private n:Lcom/facebook/orca/push/PresenceManager;
    .annotation runtime Lcom/google/inject/Inject;
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 20
    invoke-direct {p0}, Lcom/facebook/orca/roboguice/RoboFragmentActivity;-><init>()V

    return-void
.end method


# virtual methods
.method protected a(Ljava/lang/String;)Lcom/facebook/orca/ops/OrcaServiceFragment;
    .locals 1
    .parameter

    .prologue
    .line 95
    invoke-virtual {p0}, Lcom/facebook/orca/activity/OrcaFragmentActivity;->j()Landroid/support/v4/app/FragmentManager;

    move-result-object v0

    .line 96
    invoke-virtual {v0, p1}, Landroid/support/v4/app/FragmentManager;->a(Ljava/lang/String;)Landroid/support/v4/app/Fragment;

    move-result-object v0

    check-cast v0, Lcom/facebook/orca/ops/OrcaServiceFragment;

    .line 97
    if-nez v0, :cond_0

    .line 98
    new-instance v0, Lcom/facebook/orca/ops/OrcaServiceFragment;

    invoke-direct {v0}, Lcom/facebook/orca/ops/OrcaServiceFragment;-><init>()V

    .line 99
    invoke-virtual {p0, p1, v0}, Lcom/facebook/orca/activity/OrcaFragmentActivity;->a(Ljava/lang/String;Landroid/support/v4/app/Fragment;)V

    .line 101
    :cond_0
    return-object v0
.end method

.method protected a(Landroid/os/Bundle;)V
    .locals 0
    .parameter

    .prologue
    .line 41
    return-void
.end method

.method protected a(Ljava/lang/String;Landroid/support/v4/app/Fragment;)V
    .locals 1
    .parameter
        .annotation runtime Ljavax/annotation/Nullable;
        .end annotation
    .end parameter
    .parameter
    .end parameter

    .prologue
    .line 82
    invoke-virtual {p0}, Lcom/facebook/orca/activity/OrcaFragmentActivity;->j()Landroid/support/v4/app/FragmentManager;

    move-result-object v0

    .line 83
    invoke-virtual {v0}, Landroid/support/v4/app/FragmentManager;->a()Landroid/support/v4/app/FragmentTransaction;

    move-result-object v0

    .line 84
    invoke-virtual {v0, p2, p1}, Landroid/support/v4/app/FragmentTransaction;->a(Landroid/support/v4/app/Fragment;Ljava/lang/String;)Landroid/support/v4/app/FragmentTransaction;

    .line 85
    invoke-virtual {v0}, Landroid/support/v4/app/FragmentTransaction;->a()I

    .line 86
    return-void
.end method

.method public a(Lcom/facebook/orca/ops/ServiceException;)Z
    .locals 1
    .parameter

    .prologue
    .line 72
    iget-object v0, p0, Lcom/facebook/orca/activity/OrcaFragmentActivity;->a:Lcom/facebook/orca/activity/AuthenticatedActivityHelper;

    invoke-virtual {v0, p1}, Lcom/facebook/orca/activity/AuthenticatedActivityHelper;->a(Lcom/facebook/orca/ops/ServiceException;)Z

    move-result v0

    return v0
.end method

.method protected b(Landroid/os/Bundle;)V
    .locals 0
    .parameter

    .prologue
    .line 44
    return-void
.end method

.method protected final onCreate(Landroid/os/Bundle;)V
    .locals 1
    .parameter

    .prologue
    .line 29
    invoke-super {p0, p1}, Lcom/facebook/orca/roboguice/RoboFragmentActivity;->onCreate(Landroid/os/Bundle;)V

    .line 31
    invoke-virtual {p0, p1}, Lcom/facebook/orca/activity/OrcaFragmentActivity;->a(Landroid/os/Bundle;)V

    .line 32
    iget-object v0, p0, Lcom/facebook/orca/activity/OrcaFragmentActivity;->a:Lcom/facebook/orca/activity/AuthenticatedActivityHelper;

    invoke-virtual {v0, p0}, Lcom/facebook/orca/activity/AuthenticatedActivityHelper;->a(Landroid/app/Activity;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 38
    :goto_0
    return-void

    .line 36
    :cond_0
    iget-object v0, p0, Lcom/facebook/orca/activity/OrcaFragmentActivity;->a:Lcom/facebook/orca/activity/AuthenticatedActivityHelper;

    invoke-virtual {v0}, Lcom/facebook/orca/activity/AuthenticatedActivityHelper;->a()V

    .line 37
    invoke-virtual {p0, p1}, Lcom/facebook/orca/activity/OrcaFragmentActivity;->b(Landroid/os/Bundle;)V

    goto :goto_0
.end method

.method protected onDestroy()V
    .locals 1

    .prologue
    .line 60
    invoke-super {p0}, Lcom/facebook/orca/roboguice/RoboFragmentActivity;->onDestroy()V

    .line 61
    iget-object v0, p0, Lcom/facebook/orca/activity/OrcaFragmentActivity;->a:Lcom/facebook/orca/activity/AuthenticatedActivityHelper;

    invoke-virtual {v0}, Lcom/facebook/orca/activity/AuthenticatedActivityHelper;->b()V

    .line 62
    return-void
.end method

.method protected onPause()V
    .locals 1

    .prologue
    .line 48
    invoke-super {p0}, Lcom/facebook/orca/roboguice/RoboFragmentActivity;->onPause()V

    .line 49
    iget-object v0, p0, Lcom/facebook/orca/activity/OrcaFragmentActivity;->n:Lcom/facebook/orca/push/PresenceManager;

    invoke-virtual {v0}, Lcom/facebook/orca/push/PresenceManager;->a()V

    .line 50
    return-void
.end method

.method protected onResume()V
    .locals 1

    .prologue
    .line 54
    invoke-super {p0}, Lcom/facebook/orca/roboguice/RoboFragmentActivity;->onResume()V

    .line 55
    iget-object v0, p0, Lcom/facebook/orca/activity/OrcaFragmentActivity;->n:Lcom/facebook/orca/push/PresenceManager;

    invoke-virtual {v0}, Lcom/facebook/orca/push/PresenceManager;->b()V

    .line 56
    return-void
.end method

.method public onUserInteraction()V
    .locals 1

    .prologue
    .line 66
    invoke-super {p0}, Lcom/facebook/orca/roboguice/RoboFragmentActivity;->onUserInteraction()V

    .line 67
    iget-object v0, p0, Lcom/facebook/orca/activity/OrcaFragmentActivity;->n:Lcom/facebook/orca/push/PresenceManager;

    invoke-virtual {v0}, Lcom/facebook/orca/push/PresenceManager;->c()V

    .line 68
    return-void
.end method
